<?php
/**
 * General Interface for all kinds of response data types
 * Specific response types will have to implement this Interface
 * @author Sukhbir Singh Grewal
 *
 */
interface ResponseDataInterface
{
	/**
	 * Initialize the data object with received data	 
	 * @param $data
	 */
	public function __construct($data);
	
	/**
	 * Check if given data is valid for the specific response type	 
	 */
	public function isValid();
	
	/**
	 * Decode response & return the decoded data	 
	 */
	public function decode();	
} 



?>